/**
 * 创建reducer函数，用来处理发送过来的action
 */
const initState = { value: '默认值' }
const reducer = (state = initState, action) => {
    switch (action.type) {
        case 'send_type':
            return Object.assign({}, state, action)
        default:
            return state
    }
}
module.exports = {
    reducer
}